import SvgIcon from "@/components/globalComponent/SvgIcon.vue";

const allGlobalComponent: any = {
    SvgIcon
}

export default {
    install: (app: any) => {
        // 在这里编写插件代码
        Object.keys(allGlobalComponent).forEach(key => {
            app.component(key, allGlobalComponent[key])
        })
    }
}